import request from 'utils/request.js'

/**
 *
 * @param {*} data
 * @returns
 */
export const login = (mobile, code) =>
  request({
    url: '/authorizations',
    method: 'POST',
    data: {
      mobile,
      code,
    },
  })
